﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics;
using Wise.Entities;

namespace UnitTestProject1
{
    [TestClass]
    public class TestLog
    {
        [TestMethod]
        public void TestMethod1()
        {
            MyLogger log = MyLogger.Current;
            表映射 map = new 表映射();
            log._新增(map, DateTime.Now.ToString());
            log._格式错误(map, DateTime.Now.ToString(),"C1");
            log._溢出(map, DateTime.Now.ToString(), "C1");
            log._覆盖(map, DateTime.Now.ToString(),new System.Collections.Generic.List<string>() { "C1","C2"});
            log._跳过(map, DateTime.Now.ToString());
            Process p = new Process();
            p.StartInfo.FileName = log.LogDir;
            p.Start();
        }
    }
}
